package com.cxm.weilai.producer;

import java.io.IOException;

/**
 * Simple to Introduction
 *
 * @ProjectName: [kafka-apache-java]
 * @Package: [com.cxm.weilai.producer]
 * @ClassName: [Main]
 * @Description: [一句话描述该类的功能]
 * @Author: [chenman]
 * @CreateDate: [2017/11/8 15:16]
 * @UpdateUser: [chenman]
 * @UpdateDate: [2017/11/8 15:16]
 * @UpdateRemark: [说明本次修改内容]
 * @Version: [v1.0]
 */
public class Main {

    public static void main(String[] args) throws IOException {
        Producer1 producer = Producer1.getInstance();
        producer.init("producer.properties");
        producer.send("hello", "test-hello");
    }

}